$dash_padding: $base_padding * 2;
$dash_edge_offset: $base_margin * 3;
$dash_border_radius: $modal_radius + $dash_padding;
+$dash_spacing: $base_margin * 0.5;
// container for the dash
#dash {
border-radius: $dash_border_radius;
padding-top: $dash_padding;
padding-bottom: $dash_padding;
- padding-left: $dash_padding - $base_margin; // subtract the margins added to .overview-tile below as padding
- padding-right: $dash_padding - $base_margin;
+ padding-left: $dash_padding - $dash_spacing; // subtract the margins added to .overview-tile below
+ padding-right: $dash_padding - $dash_spacing;
@if $contrast == 'high' {
@include draw_hc_inset($width: 2px);
// remove styles
@extend %reset;
- padding: $dash_padding $base_margin;
- padding-bottom: $dash_padding + $dash_edge_offset;
+ margin: 0 $dash_spacing;
+ padding-bottom: $dash_edge_offset; // align with other items
$fg:$system_fg_color;
$bg:$dash_background_color;
&:active .overview-icon { @include button(active, $tc:$fg, $c:$bg, $style: flat, $always_dark: true);}
&:checked .overview-icon { @include button(checked, $tc:$fg, $c:$bg, $style: flat, $always_dark: true);}
}
+
+ // running app dot
+ .app-grid-running-dot {
+ // manually position the dot within the dash item
+ margin-bottom: $dash_padding + $dash_edge_offset - 3px; // 3px = size of dot (5px) subtracted from its translationY from appDisplay.js
+ }
}
// separator between pinned and running apps